package sctu.edu.java.year2016.team01.lishuai.day20160606.chapter15_1;

/**
 * Created by 李大帅 on 2016/6/11.
 */
public class RunThread extends Thread{
    @Override
    public void run() {
        super.run();
        while (true)
        {
            try {
                Thread.sleep(100);
                System.out.println("愿我的努力，不会付之东流");
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }

    public static void main(String[] args) {

        RunThread runThread = new RunThread();

        runThread.start();
    }
}

